#pragma once

#include <map>

/*
Utility class for measuring the performance of the system (i.e. how long operations take)
*/
class PerformanceMonitor
{
public:
	PerformanceMonitor(void);
	~PerformanceMonitor(void);

	void ReceivedModulator(int length);
	void ReceivedVocoded(int length);

	void CalculateModulatorVocodedLag();

private:
	std::map<long, int> modulatorReceived;
	std::map<long, int> vocodedReceived;
};
